-- Copyright (c) Huoty, All rights reserved
-- Author: Huoty <sudohuoty@gmail.com>
-- CreateTime: 2019-06-09 15:13:20

local function foo(a)
    print(a)

    local function bar(a)
        print(a)
    end

    print(a)
    return bar
end

foo(1)(2)
